package com.huluobo.lib_base.room

import androidx.room.Dao
import androidx.room.Delete
import androidx.room.Insert
import androidx.room.OnConflictStrategy
import androidx.room.Query

/**
 *  Created by LC on 2025/9/1.
 */
@Dao
interface VideoDao {
    @Insert(onConflict = OnConflictStrategy.REPLACE)
    fun collectVideo(videoEntityItem: VideoEntityItem): Long

    @Query("select * from video_info")
    fun queryAllVideo(): List<VideoEntityItem>

    @Delete
    fun deleteCollect(videoEntityItem: VideoEntityItem)
}